/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const attendanceRouter =
  {
    path: '/attendance',
    component: Layout,
    redirect: '/attendance',
    name: 'TrainSchedule',
    meta: { title: 'Attendance', icon: 'attendance', roles: ['admin','head_coach'] },
    hidden: false,
    children: [
      {
        path: '/attendance',
        component: () => import('@/views/attendance/index'),
        name: 'attendance',
        meta: { title: 'Attendance', icon: 'attendance', breadcrumb: false, roles: ['admin','head_coach'] }
      }

    ]
  }
export default attendanceRouter
